package service;

import entity.Area;
import entity.Category;
import entity.Movie;
import entity.MoviePage;

import java.util.List;

public interface MovieService {
    public MoviePage getAllMovies(List<Integer> categoryIds, Integer pageNum, Integer pageSize);
    public List<Category> getAllCategories();
    public List<Area> getAllAreas();
    public Integer addOneMovie(Movie movie, List<Integer> categories);
    public Movie getMovieById(Integer id);
    public Category getCategoryById(Integer categoryId);
    public Integer setOneMovie(Movie movie, List<Integer> categories);
    public Integer delMovieByList(List<Integer> movieList);
}
